package org.qydjk.common.pojo;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 服务标签实体
 * Created by Edward_yang on 2017/12/25 0011.
 */
@Entity
@Table(name = "qy_serve_label", catalog = "qydjk")

public class ServeLabel implements java.io.Serializable {

	// Fields

	private Integer id;
	private String classPropertyFont;
	private String classPropertyName;
	private String classPropertyImg;
	private String classPropertyText;
	private String detail;
	private Integer ord;
	private Date createTime;
	private Date updateTime;

	// Constructors

	/** default constructor */
	public ServeLabel() {
	}

	/** full constructor */
	public ServeLabel(String classPropertyFont, String classPropertyName, String classPropertyImg,
			String classPropertyText, String detail, Integer ord, Date createTime, Date updateTime) {
		this.classPropertyFont = classPropertyFont;
		this.classPropertyName = classPropertyName;
		this.classPropertyImg = classPropertyImg;
		this.classPropertyText = classPropertyText;
		this.detail = detail;
		this.ord = ord;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)

	@Column(name = "id", unique = true, nullable = false)

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "class_property_font", length = 50)

	public String getClassPropertyFont() {
		return this.classPropertyFont;
	}

	public void setClassPropertyFont(String classPropertyFont) {
		this.classPropertyFont = classPropertyFont;
	}

	@Column(name = "class_property_name", length = 50)

	public String getClassPropertyName() {
		return this.classPropertyName;
	}

	public void setClassPropertyName(String classPropertyName) {
		this.classPropertyName = classPropertyName;
	}

	@Column(name = "class_property_img", length = 200)

	public String getClassPropertyImg() {
		return this.classPropertyImg;
	}

	public void setClassPropertyImg(String classPropertyImg) {
		this.classPropertyImg = classPropertyImg;
	}

	@Column(name = "class_property_text", length = 200)

	public String getClassPropertyText() {
		return this.classPropertyText;
	}

	public void setClassPropertyText(String classPropertyText) {
		this.classPropertyText = classPropertyText;
	}

	@Column(name = "detail", length = 65535)

	public String getDetail() {
		return this.detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	@Column(name = "ord")

	public Integer getOrd() {
		return this.ord;
	}

	public void setOrd(Integer ord) {
		this.ord = ord;
	}

	@Column(name = "create_time", length = 19)

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "update_time", length = 19)

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}